* {
    margin: 0;
    padding: 0;
    list-style: none;
}

.swiper-container {
    width: 400px;
    height: 600px;
    position: relative;
    border: 1px solid #ccc;
    left: 50%;
    margin-left: -200px;
    overflow: hidden;
    .swiper-wrapper {
        width: 100%;
        height: 100%;
        .swiper-slide {
            width: 100%;
            img {
                width: 100%;
                height: 100%;
            }
        }
    }
    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, .8);
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        font-weight: 700;
        color: #fff;
        line-height: 40px;
        text-align: center;
    }
    .swiper-button-prev {
        left: 0;
    }
    .swiper-button-next {
        right: 0;
    }
    .swiper-pagination {
        position: absolute;
        bottom: 20px;
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        li {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: gray;
            margin: 0 5px;
        }
        .yellow {
            background: yellow;
        }
    }
}